{extend name="base" /} {block name="body"}
<div class="layui-body">
	<!--tab标签-->
	<div class="layui-tab layui-tab-brief">
		<ul class="layui-tab-title">
			<li class="layui-this">代理异常账号</li>
		</ul>
		<div class="layui-tab-content">
			<form class="layui-form layui-form-pane" action="" method="get">
				<div class="layui-inline">
					<label class="layui-form-label">帐号</label>
					<div class="layui-input-inline">
						<input type="text" name="mobile" value="{$mobile}"  placeholder="请输入手机号" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">代理名</label>
					<div class="layui-input-inline">
						<input type="text" name="agent_name" value="{$agent_name}"  placeholder="请输入代理名" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<button class="layui-btn">搜索</button>
				</div>
			</form>
			<hr>
			<table class="layui-table">
				<thead>
					<tr>
						<th>代理ID</th>
						<th>账号(手机号)</th>
						<th>代理名</th>
						<th>账号金额</th>
						<th>系统统计余额</th>
					</tr>
				</thead>
				<tbody>
					{foreach name="list" item="vo"}
					<tr>
						<td>{$vo.id}</td>
						<td>{$vo.mobile}</td>
						<td>{$vo.agent_name}</td>
						<td>{$vo.balance}</td>
						<td>{$vo.balance1}</td>
					</tr>
					{/foreach}
				</tbody>
			</table>
			<!--分页-->
			{$list->render()}
		</div>
	</div>
</div>
<script>
	// 定义全局JS变量
	var GV = {
		current_controller: "{$controller}/a_danger"
	};
</script>
{/block}